package cn.csxw.openchina.dagger2.module;

import cn.csxw.openchina.dagger2.presenter.HotMovePresenter;
import cn.csxw.openchina.ui.fragment.moveFragment.HotMoveFragment;
import dagger.Module;
import dagger.Provides;

/**
 * 动弹模块的热门动弹界面的Module类
 */

@Module
public class HotMoveModule {
    private HotMoveFragment mHotMoveFragment;

    public HotMoveModule(HotMoveFragment mHotMoveFragment){
        this.mHotMoveFragment = mHotMoveFragment;
    }

    @Provides
    public HotMovePresenter providesHotMovePresenter(){
        return new HotMovePresenter(mHotMoveFragment);
    }

    @Provides
    public HotMoveFragment providesHotMoveFragment(){
        return mHotMoveFragment;
    }

}
